<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <!-- 基本样式 -->
    <link rel="stylesheet" href="../src/mixins/style/normalize.css" />
    <link rel="stylesheet" href="../src/com_third/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../src/mixins/style/base.css" />

    <!-- 当时项目公共样式 -->
    <link rel="stylesheet" href="src/common.css" />

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="../src/lib/bootstrap.min.css" />

    <style>
        body {
            background-color: white;
            margin: 20px!important;
        }
    </style>
</head>

<body>

    <div v-cloak class="container-fluid clearfix mt_20" id="app">


        <div class="alert alert-danger mt_20" role="alert">底层基本于Vue,与IView可完美结合</div>

        <m-card title="卡片组件+Input" class="mt_20">
            <i-button>Default</i-button>
            <i-button type="primary">Primary</i-button>
            <i-button type="ghost">Ghost</i-button>
            <i-button type="dashed">Dashed</i-button>
            <i-button type="text">Text</i-button>
        </m-card>

        <m-card title="卡片组件+Table" class="mt_20">
            <i-table :columns="columns1" :data="data1"></i-table>
        </m-card>


        <m-card title="卡片组件+Model" class="mt_20">
            <i-button type="primary" @click="modal1 = true">显示模态框</i-button>
            <i-button type="primary" @click.stop="changeInnerVal">隐藏状态下更改Model内值</i-button>
        </m-card>

        <Modal v-model="modal1" title="Common Modal dialog box title" @on-ok="ok" @on-cancel="cancel">
            <i-button>{{innerVal}}</i-button>
            <child :my-message="innerVal"></child>
        </Modal>

    </div>

    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/sea-all.js"></script>
    <script src="../src/lib/vue.js"></script>
    <script src="../boot.js"></script>


    <script>
        $(function () {
            seajs.use('./13_iview.js');
        })
    </script>



</body>

</html>